package com.txhy.certificatechain.ui.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.txhy.certificatechain.R;
import com.txhy.certificatechain.model.bean.ArticleBean;

import java.util.List;

/*
 * -----------------------------------------------------------------
 * Copyright (C) 2018-2030, by your company, All rights reserved.
 * -----------------------------------------------------------------
 * 文    件: HomeRecyListAdapter.java
 * 作    者: 侯建军
 * 版    权: 1.0.0
 * 描    述:
 * 创建时间: 2018/9/20 9:18
 * 更新时间：2018/9/20 9:18
 * -----------------------------------------------------------------
 * 2018/9/20 9:18: 创建 HomeRecyListAdapter.java (侯建军);
 * -----------------------------------------------------------------
 */
public class HomeRecyListAdapter extends BaseQuickAdapter<ArticleBean, BaseViewHolder> {

    private Context mContext;

    public HomeRecyListAdapter(Context context, @Nullable List<ArticleBean> data) {
        super(R.layout.item_home_recycle, data);
        mContext = context;
    }
    @Override
    protected void convert(final BaseViewHolder holder, final ArticleBean bean) {
//        TextView tv_name = (TextView) holder.getView(R.id.tv_name);
//        ImageView img_img = (ImageView) holder.getView(R.id.img_img);

    }
}
